home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Freeware / Adobe Air 1.5 / AdobeAIRInstaller.exe / setup.swf / scripts / mx / events / CloseEvent.as < prev    next >
Encoding:
Text File  |  2008-10-29  |  692 b   |  29 lines

  1. package mx.events
  2. {
  3.    import flash.events.Event;
  4.    import mx.core.mx_internal;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class CloseEvent extends Event
  9.    {
  10.       mx_internal static const VERSION:String = "3.0.0.0";
  11.       
  12.       public static const CLOSE:String = "close";
  13.       
  14.       public var detail:int;
  15.       
  16.       public function CloseEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:int = -1)
  17.       {
  18.          super(param1,param2,param3);
  19.          this.detail = param4;
  20.       }
  21.       
  22.       override public function clone() : Event
  23.       {
  24.          return new CloseEvent(type,bubbles,cancelable,detail);
  25.       }
  26.    }
  27. }
  28.  
  29.